<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	template="/xhtml/templates/layout.xhtml">

	<ui:define name="title">#{msgs.titleFilter}</ui:define>

	<ui:define name="content">
		<h:form>
			<p:panelGrid columns="3" styleClass="filter">
				<f:facet name="header">#{msgs.titleFilter}</f:facet>

				<h:outputLabel for="subStringLog" value="#{msgs.subStringLog}" />
				<p:inputText id="subStringLog"
					value="#{manageWorkflows.subStringLog}">
					<f:validateLength minimum="4" />
					<p:ajax event="blur" update="msgSubStringLog" />
				</p:inputText>
				<p:message id="msgSubStringLog" for="subStringLog" />

				<f:facet name="footer">

					<p:commandButton value="#{msgs.buttonEnterFilter}"
						action="#{manageWorkflows.setFilter}" 
						icon="ui-icon-check" 
						ajax="false"/>

					<p:commandButton value="#{msgs.buttonCancelFilter}"
						action="#{manageWorkflows.noNewFilter}" 
						icon="ui-icon-cancel" 
						ajax="false"/>

				</f:facet>
			</p:panelGrid>

		</h:form>

	</ui:define>

</ui:composition>
